package com.sumer.psychology.blog.domain.model;

/**
 * 博客目录资源库
 * <p/>
 * User: zhenguang.zhu
 * Date: 2014/9/3
 * Time: 8:59
 */
public interface CategoryRepository {
    CategoryId nextIdentity();

    void add(Category aCategory);

    Category activeCategoryOfId(CategoryId categoryId);

    Category categoryOfId(CategoryId categoryId);
}
